package cn.meizhu.pet.controller;

import cn.meizhu.pet.domain.SearchMasterMsg;
import cn.meizhu.pet.query.SearchMasterMsgQuery;
import cn.meizhu.pet.service.ISearchMasterMsgService;
import cn.meizhu.util.QueryResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RestController
@RequestMapping("/searchMasterMsgPending")
public class SearchMasterMsgPendingController {

    @Autowired
    private ISearchMasterMsgService searchMasterMsgService;

    @PostMapping
    public QueryResult<SearchMasterMsg> queryPage(@RequestBody SearchMasterMsgQuery searchMasterMsgQuery){
        return searchMasterMsgService.queryPage1(searchMasterMsgQuery);
    }
}
